package cn.client.data.localData

import androidx.room.Database
import androidx.room.RoomDatabase
import cn.client.data.localData.dao.ChatMsgDao
import cn.client.data.localData.dao.UserDao
import cn.client.data.localData.entity.ChatMsgEntity
import cn.client.data.localData.entity.UserEntity

/* 如果还有其它表继续添加 */
@Database(entities = [UserEntity::class, ChatMsgEntity::class], version = 1, exportSchema = false)
abstract class AppDatabase: RoomDatabase() {
    abstract fun userDao(): UserDao
    abstract fun chatMsgDao(): ChatMsgDao

    /* 如果还有其它表继续添加 */
}